package info.johnwheeler.gaestorage.core;

import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Parent;

public class County {
	//COMARCA
	@Id
	private Long id;
	private String name;
	private String address;

	@Parent
    Key<Person> owner;
	
	private String city;
	private String state;
	private String country;
	
	public County(){
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Key<Person> getOwner() {
		return owner;
	}

	public void setOwner(Key<Person> owner) {
		this.owner = owner;
	}
	
	
	
}
